package com.atguigu07.object.tostring.ex1;

public class Test {
    public static void main(String[] args) {
        GeometricObject g1=new Circle(5);
        GeometricObject g2=new Circle(5);

        System.out.println(g1.toString());
        System.out.println(g1.equals(g2));
    }
}
